<style type="text/css">
table, td, th, tr
{
border:5px #EBDDE2;
}
th
{
background-color:#D3D3D3;
color: #696969;
font-family:Sylfaen;
font-size:100%;
}

td
{
   font-size: 90%;
   font-family:Officina;
   background-color: #EBDDE2
}
tr:hover{
	background-color: white;
}

</style>

<?php
echo $this->title;
?>

<p><a href="<?php echo $this->url(array('module'=>'student', 'controller'=>'scale',
'action'=>'Add'));?>"><u>Add a Scale</u></a>

<table style="display:inline; text-align: center;" width="400">

<th>Grade</th>
<th>Minimum Score</th>
<th>Maximum Score</th>
<th>Edit</th>
<th>Delete</th>



<tr>
<td width="30%" align="center">
<?php foreach($this->scale as $scale) : ?></td></tr>


<td width="30%" align="center">
<?php echo $scale->grade;?></td>

<td width="40%" align="center">
<?php echo $scale->minimum;?></td>

<td width="70%" align="center">
<?php echo $scale->maximum;?></td>

<td>
<a href="<?php echo $this->url(array('module'=>'student', 'controller'=>'scale',
'action'=>'Edit'));?>"><u>Edit</u></a></td>

<td>
<a href="<?php echo $this->url(array('module'=>'student', 'controller'=>'scale',
'action'=>'delete'));?>"><u>Delete</u></a></td>


<?php endforeach; ?>
</table>


